package com.networkapp;

public class UploadParam<T> {
    private FormatType formatType = FormatType.NONE;
    private ParamsKey paramsKey;
    private T paramValue;

    public UploadParam(FormatType formatType, ParamsKey paramsKey, T paramValue) {
        this.formatType = formatType;
        this.paramsKey = paramsKey;
        this.paramValue = paramValue;
    }

    public UploadParam(ParamsKey paramsKey, T paramValue) {
        this.paramsKey = paramsKey;
        this.paramValue = paramValue;
    }

    public FormatType getFormatType() {
        return formatType;
    }

    public void setFormatType(FormatType formatType) {
        this.formatType = formatType;
    }

    public ParamsKey getParamsKey() {
        return paramsKey;
    }

    public void setParamsKey(ParamsKey paramsKey) {
        this.paramsKey = paramsKey;
    }

    public T getParamValue() {
        return paramValue;
    }

    public void setParamValue(T paramValue) {
        this.paramValue = paramValue;
    }
}